package com.edu.entity.queryanswer;

import java.util.Date;

public class AnswerComment {
    private int id;
    private int isTip;
    private int commentNo;
    private Date commentTime;
    private String comment;

    public AnswerComment() {
        super();
    }

    @Override
    public String toString() {
        return "AnswerComment{" +
                "id=" + id +
                ", isTip=" + isTip +
                ", commentNo=" + commentNo +
                ", commentTime=" + commentTime +
                ", comment='" + comment + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getIsTip() {
        return isTip;
    }

    public void setIsTip(int isTip) {
        this.isTip = isTip;
    }

    public int getCommentNo() {
        return commentNo;
    }

    public void setCommentNo(int commentNo) {
        this.commentNo = commentNo;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public AnswerComment(int isTip, int commentNo, Date commentTime, String comment) {
        this.isTip = isTip;
        this.commentNo = commentNo;
        this.commentTime = commentTime;
        this.comment = comment;
    }

    public AnswerComment(int id, int isTip, int commentNo, Date commentTime, String comment) {
        this.id = id;
        this.isTip = isTip;
        this.commentNo = commentNo;
        this.commentTime = commentTime;
        this.comment = comment;
    }
}
